Details

Time bar (total: 18.3s)

sample72.0ms

Algorithm
intervals
Results
36.0ms598×body80valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
5.2b
(* b (- (* c z) (* i a)))
5.7b
(* x (- (* y z) (* t a)))
6.2b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
12×distribute-rgt-in add-sqr-sqrt distribute-lft-in associate-*r/
sub-neg prod-diff
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
flip3-- flip--
associate-*r* associate-*l* associate--l+ associate--r+ add-log-exp
expm1-log1p-u frac-sub log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
fma-neg diff-log fma-udef
Counts
4 → 98
Calls
4 calls:
12.0ms
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
10.0ms
(* b (- (* c z) (* i a)))
10.0ms
(* x (- (* y z) (* t a)))
0.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))

series909.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
67.0ms
(* b (- (* c z) (* i a)))
70.0ms
(* x (- (* y z) (* t a)))
554.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))

simplify83.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
05671034
12610947
25001943

prune554.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.0b

localize29.0ms

Local error

Found 4 expressions with local error:

5.2b
(* b (- (* c z) (* i a)))
5.7b
(* x (- (* y z) (* t a)))
6.2b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
50.4b
(fma (- a) i (* a i))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in associate-*r* associate-*l*
expm1-log1p-u sub-neg associate-*r/ prod-diff log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
4 → 76
Calls
4 calls:
10.0ms
(* b (- (* c z) (* i a)))
10.0ms
(* x (- (* y z) (* t a)))
0.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
0.0ms
(fma (- a) i (* a i))

series3.9s

Counts
4 → 12
Calls
4 calls:
84.0ms
(* b (- (* c z) (* i a)))
76.0ms
(* x (- (* y z) (* t a)))
3.7s
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
27.0ms
(fma (- a) i (* a i))

simplify53.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0360664
11457577
25001577

prune502.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 6.0b

localize37.0ms

Local error

Found 4 expressions with local error:

5.7b
(* x (fma y z (- (* a t))))
6.2b
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
50.4b
(fma (- a) i (* a i))
50.5b
(fma (- a) t (* a t))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 52
Calls
4 calls:
3.0ms
(* x (fma y z (- (* a t))))
0.0ms
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
0.0ms
(fma (- a) i (* a i))
0.0ms
(fma (- a) t (* a t))

series6.8s

Counts
4 → 12
Calls
4 calls:
80.0ms
(* x (fma y z (- (* a t))))
6.7s
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
29.0ms
(fma (- a) i (* a i))
30.0ms
(fma (- a) t (* a t))

simplify83.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0210550
1720467
23174466
35001466

prune431.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 6.0b

localize36.0ms

Local error

Found 4 expressions with local error:

7.1b
(cbrt (- (* y z) (* t a)))
7.1b
(cbrt (- (* y z) (* t a)))
7.1b
(cbrt (- (* y z) (* t a)))
50.4b
(fma (- a) i (* a i))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip--
fma-udef
Counts
4 → 55
Calls
4 calls:
2.0ms
(cbrt (- (* y z) (* t a)))
2.0ms
(cbrt (- (* y z) (* t a)))
2.0ms
(cbrt (- (* y z) (* t a)))
0.0ms
(fma (- a) i (* a i))

series413.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(cbrt (- (* y z) (* t a)))
125.0ms
(cbrt (- (* y z) (* t a)))
128.0ms
(cbrt (- (* y z) (* t a)))
29.0ms
(fma (- a) i (* a i))

simplify139.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0208512
1583478
21829460
34900452
45001452

prune482.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 6.0b

regimes972.0ms

Accuracy

-5.8% (7.3b remaining)

Error of 12.2b against oracle of 4.9b and baseline of 11.8b

bsearch475.0ms

Steps
ItersRangePoint
10
6.438204675798197e-242
7.9506157636139445e-224
3.4504982266878486e-228
7
-2.369240740767814e-267
-1.2011428027861467e-268
-2.3371425092016802e-267
7
-4.5318380916772626e-265
-2.369240740767814e-267
-5.122477384149564e-267
10
-2.1138198463618688e-213
-7.951460619839716e-225
-8.051588161419305e-225

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079106
185106
296106
396106

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s19204×body80valid