Details

Time bar (total: 12.7s)

sample87.0ms

Algorithm
intervals
Results
39.0ms663×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.8b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) (* t a))
5.3b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
5.4b
(* b (- (* c z) (* i a)))
5.6b
(* x (- (* y z) (* t a)))

rewrite64.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* add-log-exp
sub-neg prod-diff
expm1-log1p-u associate-*r/ log1p-expm1-u
flip3-- flip--
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
fma-neg diff-log fma-udef
Counts
4 → 82
Calls
4 calls:
8.0ms
(- (* y z) (* t a))
0.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
29.0ms
(* b (- (* c z) (* i a)))
25.0ms
(* x (- (* y z) (* t a)))

series653.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* y z) (* t a))
502.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
58.0ms
(* b (- (* c z) (* i a)))
60.0ms
(* x (- (* y z) (* t a)))

simplify46.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0373645
11485568
25001568

prune414.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.0b

localize24.0ms

Local error

Found 4 expressions with local error:

5.3b
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* i a)))))
5.4b
(* b (- (* c z) (* i a)))
5.6b
(* x (fma y z (- (* a t))))
49.9b
(fma (- a) t (* a t))

rewrite36.0ms

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

series3.0s

Counts
4 → 12
Calls
4 calls:
2.9s
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* i a)))))
56.0ms
(* b (- (* c z) (* i a)))
62.0ms
(* x (fma y z (- (* a t))))
22.0ms
(fma (- a) t (* a t))

simplify41.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315624
11247538
25002538

prune397.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.0b

localize28.0ms

Local error

Found 4 expressions with local error:

3.3b
(* (* (cbrt b) (cbrt b)) (* (cbrt b) (- (* c z) (* i a))))
5.3b
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* (* (cbrt b) (cbrt b)) (* (cbrt b) (- (* c z) (* i a))))))
5.6b
(* x (fma y z (- (* a t))))
49.9b
(fma (- a) t (* a t))

rewrite74.0ms

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

series3.3s

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (* (cbrt b) (cbrt b)) (* (cbrt b) (- (* c z) (* i a))))
3.1s
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* (* (cbrt b) (cbrt b)) (* (cbrt b) (- (* c z) (* i a))))))
61.0ms
(* x (fma y z (- (* a t))))
27.0ms
(fma (- a) t (* a t))

simplify55.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04491020
11668771
25002697

prune410.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.0b

localize26.0ms

Local error

Found 4 expressions with local error:

5.6b
(* x (fma y z (- (* a t))))
5.9b
(* a (* i b))
5.9b
(* z (* b c))
49.9b
(fma (- a) t (* a t))

rewrite42.0ms

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

series135.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* x (fma y z (- (* a t))))
27.0ms
(* a (* i b))
23.0ms
(* z (* b c))
23.0ms
(fma (- a) t (* a t))

simplify102.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0283344
11069287
24217287
35001283

prune358.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.0b

regimes803.0ms

Accuracy

31.7% (5.2b remaining)

Error of 9.9b against oracle of 4.6b and baseline of 12.3b

bsearch165.0ms

Steps
ItersRangePoint
3
1.5996814978684195e-06
1.8783131203233815e-06
1.7912407383062057e-06
7
-1.0351105111108023e+196
-4.346952053453455e+194
-4.399637906071263e+194

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07164
18164
28164

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.1s19019×body80valid