Details

Time bar (total: 14.7s)

sample120.0ms

Algorithm
intervals
Results
76.0ms633×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune39.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.7b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* y z) (* t a))
5.7b
(* j (- (* c t) (* i y)))
5.7b
(* b (- (* c z) (* i a)))
6.3b
(* x (- (* y z) (* t a)))

rewrite37.0ms

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

series77.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (* y z) (* t a))
22.0ms
(* j (- (* c t) (* i y)))
22.0ms
(* b (- (* c z) (* i a)))
22.0ms
(* x (- (* y z) (* t a)))

simplify57.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0478643
11976572
25001572

prune1.6s

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 10.0b

localize26.0ms

Local error

Found 4 expressions with local error:

5.7b
(* j (- (* c t) (* i y)))
5.7b
(* b (- (* c z) (* i a)))
6.3b
(* x (- (* y z) (* t a)))
50.4b
(fma (- a) i (* a i))

rewrite32.0ms

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

series73.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* j (- (* c t) (* i y)))
22.0ms
(* b (- (* c z) (* i a)))
24.0ms
(* x (- (* y z) (* t a)))
6.0ms
(fma (- a) i (* a i))

simplify53.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0458602
11909532
25002532

prune1.8s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 10.0b

localize32.0ms

Local error

Found 4 expressions with local error:

5.7b
(* b (- (* c z) (* i a)))
6.3b
(* x (- (* y z) (* t a)))
50.4b
(fma (- a) i (* a i))
51.1b
(fma (- y) i (* y 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:
10.0ms
(* b (- (* c z) (* i a)))
10.0ms
(* x (- (* y z) (* t a)))
0.0ms
(fma (- a) i (* a i))
0.0ms
(fma (- y) i (* y i))

series57.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* b (- (* c z) (* i a)))
24.0ms
(* x (- (* y z) (* t a)))
6.0ms
(fma (- a) i (* a i))
6.0ms
(fma (- y) i (* y i))

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0335468
11347412
25001412

prune1.8s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 10.0b

localize43.0ms

Local error

Found 4 expressions with local error:

6.3b
(* x (fma y z (- (* a t))))
50.0b
(fma (- a) t (* a t))
50.4b
(fma (- a) i (* a i))
51.1b
(fma (- y) i (* y i))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 52
Calls
4 calls:
3.0ms
(* x (fma y z (- (* a t))))
0.0ms
(fma (- a) t (* a t))
0.0ms
(fma (- a) i (* a i))
0.0ms
(fma (- y) i (* y i))

series44.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* x (fma y z (- (* a t))))
6.0ms
(fma (- a) t (* a t))
6.0ms
(fma (- a) i (* a i))
6.0ms
(fma (- y) i (* y i))

simplify62.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0150294
1521253
22138253
35001229

prune1.3s

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 10.0b

regimes3.8s

Accuracy

-8% (3.9b remaining)

Error of 12.7b against oracle of 8.7b and baseline of 12.4b

bsearch145.0ms

Steps
ItersRangePoint
9
9.02164274379965e-157
4.4796450041411847e-150
1.1177337282084136e-156
7
-5.931477581187726e-127
-6.65620034558655e-129
-6.801651139304191e-129

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07562
18562
29662
39662

end0.0ms

sample3.3s

Algorithm
intervals
Results
2.3s19253×body80valid