Details

Time bar (total: 13.9s)

sample119.0ms

Algorithm
intervals
Results
82.0ms569×body80valid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* c z) (* i a))
5.1b
(* x (- (* y z) (* t a)))
5.8b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
7.2b
(* b (- (* c z) (* i a)))

rewrite25.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:
3.0ms
(- (* 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)))))
10.0ms
(* b (- (* c z) (* i a)))

series903.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* c z) (* i a))
77.0ms
(* x (- (* y z) (* t a)))
715.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
72.0ms
(* b (- (* c z) (* i a)))

simplify48.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0373645
11485568
25001568

prune436.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.5b

localize25.0ms

Local error

Found 4 expressions with local error:

5.1b
(* x (fma y z (- (* a t))))
5.8b
(fma (- (* c t) (* i y)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* i a)))))
7.2b
(* b (- (* c z) (* i a)))
51.4b
(fma (- a) t (* a t))

rewrite18.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:
6.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)))))
10.0ms
(* b (- (* c z) (* i a)))
0.0ms
(fma (- a) t (* a t))

series3.7s

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

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315624
11242538
25001538

prune428.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.5b

localize24.0ms

Local error

Found 4 expressions with local error:

7.2b
(* b (* (* (cbrt (- (* c z) (* i a))) (cbrt (- (* c z) (* i a)))) (cbrt (- (* c z) (* i a)))))
8.5b
(cbrt (- (* c z) (* i a)))
8.5b
(cbrt (- (* c z) (* i a)))
8.5b
(cbrt (- (* c z) (* i a)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
34×associate-*r/
30×flip3-- flip--
28×frac-times
14×associate-*l/
13×pow1 add-exp-log
cbrt-prod add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*l*
associate-*r* *-commutative
Counts
4 → 94
Calls
4 calls:
105.0ms
(* b (* (* (cbrt (- (* c z) (* i a))) (cbrt (- (* c z) (* i a)))) (cbrt (- (* c z) (* i a)))))
2.0ms
(cbrt (- (* c z) (* i a)))
2.0ms
(cbrt (- (* c z) (* i a)))
2.0ms
(cbrt (- (* c z) (* i a)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* b (* (* (cbrt (- (* c z) (* i a))) (cbrt (- (* c z) (* i a)))) (cbrt (- (* c z) (* i a)))))
129.0ms
(cbrt (- (* c z) (* i a)))
132.0ms
(cbrt (- (* c z) (* i a)))
129.0ms
(cbrt (- (* c z) (* i a)))

simplify108.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
04491455
111961325
239801156
350011137

prune619.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.5b

localize31.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z) (* t a))))
3.4b
(* (cbrt x) (- (* y z) (* t a)))
5.8b
(fma (- (* c t) (* i y)) j (- (* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z) (* t a)))) (* b (- (* c z) (* i a)))))
7.2b
(* b (- (* c z) (* i a)))

rewrite51.0ms

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

series1.3s

Counts
4 → 12
Calls
4 calls:
115.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z) (* t a))))
315.0ms
(* (cbrt x) (- (* y z) (* t a)))
744.0ms
(fma (- (* c t) (* i y)) j (- (* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z) (* t a)))) (* b (- (* c z) (* i a)))))
78.0ms
(* b (- (* c z) (* i a)))

simplify83.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05541206
12443956
25003877

prune479.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 6.5b

regimes920.0ms

Accuracy

4.3% (7.2b remaining)

Error of 12.5b against oracle of 5.3b and baseline of 12.8b

bsearch171.0ms

Steps
ItersRangePoint
9
-1.6022860314892243e+119
-2.148055735883535e+114
-1.4870984626086617e+119

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04831
14831

end0.0ms

sample3.6s

Algorithm
intervals
Results
2.7s19044×body80valid