Details

Time bar (total: 13.0s)

sample87.0ms

Algorithm
intervals
Results
38.0ms663×body80valid

simplify88.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

localize23.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)))

rewrite63.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)))))
28.0ms
(* b (- (* c z) (* i a)))
25.0ms
(* x (- (* y z) (* t a)))

series656.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0373645
11485568
25001568

prune422.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))

rewrite37.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)))))
28.0ms
(* b (- (* c z) (* i a)))
7.0ms
(* x (fma y z (- (* a t))))
0.0ms
(fma (- a) t (* a t))

series3.2s

Counts
4 → 12
Calls
4 calls:
3.0s
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* i a)))))
57.0ms
(* b (- (* c z) (* i a)))
63.0ms
(* x (fma y z (- (* a t))))
23.0ms
(fma (- a) t (* a t))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315624
11247538
25002538

prune405.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))

rewrite73.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:
63.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:
98.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))))))
62.0ms
(* x (fma y z (- (* a t))))
26.0ms
(fma (- a) t (* a t))

simplify56.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04491020
11668771
25002697

prune430.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.0b

localize27.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))

rewrite43.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))))
20.0ms
(* a (* i b))
15.0ms
(* z (* b c))
0.0ms
(fma (- a) t (* a t))

series138.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0283344
11069287
24217287
35001283

prune376.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.0b

regimes822.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