Details

Time bar (total: 15.3s)

sample76.0ms

Algorithm
intervals
Results
40.0ms610×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* c a) (* y i))
4.7b
(* x (- (* y z) (* t a)))
4.7b
(* b (- (* c z) (* t i)))
5.2b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

rewrite24.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:
4.0ms
(- (* c a) (* y i))
10.0ms
(* x (- (* y z) (* t a)))
7.0ms
(* b (- (* c z) (* t i)))
1.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

series826.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* c a) (* y i))
76.0ms
(* x (- (* y z) (* t a)))
80.0ms
(* b (- (* c z) (* t i)))
630.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0426646
11670568
25002568

prune517.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 3.6b

localize26.0ms

Local error

Found 4 expressions with local error:

4.7b
(* x (fma y z (- (* a t))))
4.7b
(* b (- (* c z) (* t i)))
5.2b
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* t i)))))
48.5b
(fma (- a) t (* a t))

rewrite14.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:
4.0ms
(* x (fma y z (- (* a t))))
6.0ms
(* b (- (* c z) (* t i)))
1.0ms
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* t i)))))
1.0ms
(fma (- a) t (* a t))

series4.0s

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

simplify52.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0310624
11230538
25001538

prune502.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 3.6b

localize28.0ms

Local error

Found 4 expressions with local error:

5.2b
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (+ (* b (* c z)) (* b (- (* t i))))))
5.4b
(* b (- (* t i)))
7.3b
(* b (* c z))
48.5b
(fma (- a) t (* a t))

rewrite13.0ms

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

series3.8s

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

simplify57.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0268502
11224427
25002424

prune518.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 3.3b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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:
4.0ms
(- (* c z) (* t i))
7.0ms
(* x (- (* y z) (* t a)))
7.0ms
(* b (- (* c z) (* t i)))
1.0ms
(fma (fma c a (- (* y i))) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

series841.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* c z) (* t i))
70.0ms
(* x (- (* y z) (* t a)))
81.0ms
(* b (- (* c z) (* t i)))
643.0ms
(fma (fma c a (- (* y i))) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0377645
11493568
25001568

prune453.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.3b

regimes950.0ms

Accuracy

-13.8% (8.8b remaining)

Error of 13.1b against oracle of 4.3b and baseline of 12.0b

bsearch207.0ms

Steps
ItersRangePoint
7
4.1136805678684795e-217
2.450098896374283e-215
4.197551135667944e-217
8
-1.0762656825847948e-302
-3.041599781287462e-305
-6.449583948254619e-305

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07132
17932
28032
38032

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s18962×body80valid