Details

Time bar (total: 14.9s)

sample73.0ms

Algorithm
intervals
Results
38.0ms610×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.8b

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

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

series834.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* c a) (* y i))
73.0ms
(* x (- (* y z) (* t a)))
76.0ms
(* b (- (* c z) (* t i)))
641.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0426646
11670568
25002568

prune475.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 3.6b

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

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

series3.8s

Counts
4 → 12
Calls
4 calls:
75.0ms
(* x (fma y z (- (* a t))))
78.0ms
(* b (- (* c z) (* t i)))
3.6s
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* t i)))))
32.0ms
(fma (- a) t (* a t))

simplify51.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0310624
11230538
25001538

prune675.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 3.6b

localize34.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.7s

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

simplify53.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0268502
11224427
25002424

prune470.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 3.3b

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

rewrite19.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))
6.0ms
(* x (- (* y z) (* t a)))
6.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)))))

series795.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* c z) (* t i))
73.0ms
(* x (- (* y z) (* t a)))
75.0ms
(* b (- (* c z) (* t i)))
608.0ms
(fma (fma c a (- (* y i))) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0377645
11493568
25001568

prune401.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.3b

regimes857.0ms

Accuracy

-13.8% (8.8b remaining)

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

bsearch191.0ms

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

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07132
17932
28032
38032

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s18962×body80valid