Details

Time bar (total: 17.9s)

sample77.0ms

Algorithm
intervals
Results
40.0ms625×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.4b

localize19.0ms

Local error

Found 4 expressions with local error:

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

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

series723.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* y z) (* t a))
557.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
66.0ms
(* b (- (* c z) (* i a)))
64.0ms
(* x (- (* y z) (* t a)))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0373645
11485568
25001568

prune427.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 6.2b

localize24.0ms

Local error

Found 4 expressions with local error:

4.8b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
5.2b
(* b (- (* c z) (* i a)))
6.5b
(* x (- (* y z) (* t a)))
47.9b
(fma (- a) i (* a i))

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

series3.8s

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

simplify52.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0360664
11457577
25002577

prune507.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.2b

localize37.0ms

Local error

Found 4 expressions with local error:

5.2b
(* b (- (* c z) (* i a)))
6.5b
(* x (fma y z (- (* a t))))
47.9b
(fma (- a) i (* a i))
48.8b
(fma (- a) t (* a t))

rewrite15.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:
10.0ms
(* b (- (* c z) (* i a)))
3.0ms
(* x (fma y z (- (* a t))))
0.0ms
(fma (- a) i (* a i))
0.0ms
(fma (- a) t (* a t))

series216.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(* b (- (* c z) (* i a)))
83.0ms
(* x (fma y z (- (* a t))))
28.0ms
(fma (- a) i (* a i))
30.0ms
(fma (- a) t (* a t))

simplify115.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0277428
11113373
24526373
35001373

prune509.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.2b

localize39.0ms

Local error

Found 4 expressions with local error:

4.8b
(fma (- (* c t) (* i y)) j (- (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (fma y z (- (* a t))))) (* x (fma (- a) t (* a t)))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
5.2b
(* b (- (* c z) (* i a)))
47.9b
(fma (- a) i (* a i))
48.8b
(fma (- a) t (* a t))

rewrite12.0ms

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

series7.1s

Counts
4 → 12
Calls
4 calls:
7.0s
(fma (- (* c t) (* i y)) j (- (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (fma y z (- (* a t))))) (* x (fma (- a) t (* a t)))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
72.0ms
(* b (- (* c z) (* i a)))
36.0ms
(fma (- a) i (* a i))
28.0ms
(fma (- a) t (* a t))

simplify129.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0259650
1961556
24202555
35001555

prune650.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 6.2b

regimes872.0ms

Accuracy

0.2% (6.7b remaining)

Error of 12.2b against oracle of 5.5b and baseline of 12.3b

bsearch246.0ms

Steps
ItersRangePoint
9
2.039107012811407e-155
5.525767292787017e-148
4.5244173526892257e-150
8
-5.836837750455384e-188
-1.063608753797964e-192
-2.0222434854158232e-191

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05637
16237
27337
37337

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s19171×body80valid