Details

Time bar (total: 3.3s)

sample38.0ms

Algorithm
intervals
Results
14.0ms398×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (13.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (* y z)) (* t a))
0.0b
(+ x (* y z))
0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
5.5b
(* (* a z) b)

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*l* *-commutative
Counts
4 → 73
Calls
4 calls:
22.0ms
(+ (+ x (* y z)) (* t a))
5.0ms
(+ x (* y z))
92.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
16.0ms
(* (* a z) b)

series154.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (+ x (* y z)) (* t a))
20.0ms
(+ x (* y z))
71.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
24.0ms
(* (* a z) b)

simplify50.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0358405
11787339
25002330

prune218.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

5.5b
(* (* a z) b)
13.0b
(cbrt (* (* a z) b))
13.0b
(cbrt (* (* a z) b))
13.0b
(cbrt (* (* a z) b))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod
associate-*l* *-commutative
Counts
4 → 53
Calls
4 calls:
16.0ms
(* (* a z) b)
12.0ms
(cbrt (* (* a z) b))
13.0ms
(cbrt (* (* a z) b))
12.0ms
(cbrt (* (* a z) b))

series268.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (* a z) b)
82.0ms
(cbrt (* (* a z) b))
82.0ms
(cbrt (* (* a z) b))
83.0ms
(cbrt (* (* a z) b))

simplify73.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0185316
1726268
23235259
35001240

prune232.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

2.7b
(fma (fma a b y) z (fma a t x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (fma a b y) z (fma a t x))

series76.0ms

Counts
1 → 3
Calls
1 calls:
76.0ms
(fma (fma a b y) z (fma a t x))

simplify53.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
04458
19351
230749
3203249
4500249

prune42.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (* y z)) (* t a))
0.0b
(+ x (* y z))
0.0b
(+ (+ (+ x (* y z)) (* t a)) (pow (* a (* z b)) 1))
5.4b
(* a (* z b))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×*-un-lft-identity sum-log
pow1 add-exp-log fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*l* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*r* *-commutative distribute-lft-out
Counts
4 → 74
Calls
4 calls:
22.0ms
(+ (+ x (* y z)) (* t a))
5.0ms
(+ x (* y z))
92.0ms
(+ (+ (+ x (* y z)) (* t a)) (pow (* a (* z b)) 1))
15.0ms
(* a (* z b))

series153.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (+ x (* y z)) (* t a))
20.0ms
(+ x (* y z))
70.0ms
(+ (+ (+ x (* y z)) (* t a)) (pow (* a (* z b)) 1))
22.0ms
(* a (* z b))

simplify47.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0354430
11662349
25002339

prune244.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes178.0ms

Accuracy

92.7% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 2.1b

bsearch74.0ms

Steps
ItersRangePoint
9
1.8034992792673283e-93
9.357404911228539e-86
9.674444679566242e-89
6
-8.645478429844785e-08
-7.56002747180116e-09
-9.759903924293656e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03611
13611

end0.0ms

sample1.0s

Algorithm
intervals
Results
396.0ms11903×body80valid