Details

Time bar (total: 18.1s)

sample74.0ms

Algorithm
intervals
Results
37.0ms625×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

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

rewrite27.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))
0.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
11.0ms
(* b (- (* c z) (* i a)))
11.0ms
(* x (- (* y z) (* t a)))

series798.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0373645
11485568
25001568

prune449.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 6.2b

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

rewrite27.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))))))
14.0ms
(* b (- (* c z) (* i a)))
11.0ms
(* x (- (* y z) (* t a)))
0.0ms
(fma (- a) i (* a i))

series4.0s

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

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0360664
11457577
25002577

prune467.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.2b

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

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

series200.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* b (- (* c z) (* i a)))
75.0ms
(* x (fma y z (- (* a t))))
26.0ms
(fma (- a) i (* a i))
27.0ms
(fma (- a) t (* a t))

simplify108.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0277428
11113373
24526373
35001373

prune480.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.2b

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

rewrite13.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))))))
75.0ms
(* b (- (* c z) (* i a)))
27.0ms
(fma (- a) i (* a i))
31.0ms
(fma (- a) t (* a t))

simplify135.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0259650
1961556
24202555
35001555

prune470.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 6.2b

regimes949.0ms

Accuracy

0.2% (7.1b remaining)

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

bsearch273.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 (0.0ms)

IterNodesCost
05637
16237
27337
37337

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s19171×body80valid