Details

Time bar (total: 4.7s)

sample36.0ms

Algorithm
intervals
Results
15.0ms377×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0267
1576
2956
31166
41186
51186

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 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)) (* (* a z) b))
4.6b
(* (* a z) b)

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
+-commutative flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*l* *-commutative
Counts
4 → 56
Calls
4 calls:
23.0ms
(+ (+ x (* y z)) (* t a))
6.0ms
(+ x (* y z))
93.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
18.0ms
(* (* a z) b)

series191.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(+ (+ x (* y z)) (* t a))
27.0ms
(+ x (* y z))
89.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
27.0ms
(* (* a z) b)

simplify49.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0335378
11670347
25002342

prune163.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
sum-log
flip3-+ associate-*r* associate-*l* flip-+
+-commutative associate-*r/
distribute-rgt-in associate-+r+ distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 46
Calls
3 calls:
6.0ms
(+ t (* z b))
17.0ms
(+ (* y z) (+ x (* a (+ t (* z b)))))
16.0ms
(* a (+ t (* z b)))

series180.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ t (* z b))
94.0ms
(+ (* y z) (+ x (* a (+ t (* z b)))))
58.0ms
(* a (+ t (* z b)))

simplify38.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0273310
11168276
25002276

prune135.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ t (* z b))) (cbrt (+ t (* z b))))
2.2b
(cbrt (+ t (* z b)))
2.2b
(cbrt (+ t (* z b)))
2.2b
(cbrt (+ t (* z b)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
32.0ms
(* (cbrt (+ t (* z b))) (cbrt (+ t (* z b))))
3.0ms
(cbrt (+ t (* z b)))
3.0ms
(cbrt (+ t (* z b)))
3.0ms
(cbrt (+ t (* z b)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (cbrt (+ t (* z b))) (cbrt (+ t (* z b))))
118.0ms
(cbrt (+ t (* z b)))
116.0ms
(cbrt (+ t (* z b)))
113.0ms
(cbrt (+ t (* z b)))

simplify130.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0303872
11042820
24602751
35001740

prune343.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b)))
0.3b
(* (sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))) (sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))))
4.6b
(* (* a z) b)
4.6b
(* (* a z) b)

rewrite516.0ms

Algorithm
rewrite-expression-head
Rules
30×pow1
28×add-sqr-sqrt
21×sqrt-prod
16×add-exp-log add-cbrt-cube
15×add-cube-cbrt *-un-lft-identity
14×sqrt-div
12×associate-*r*
sqrt-pow1 pow1/2 pow-prod-down
swap-sqr associate-*l*
flip3-+ prod-exp cbrt-unprod flip-+
pow-prod-up
frac-times add-log-exp unswap-sqr
pow-sqr *-commutative
associate-*r/ associate-*l/
pow2 rem-sqrt-square pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 108
Calls
4 calls:
90.0ms
(sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b)))
386.0ms
(* (sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))) (sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))))
18.0ms
(* (* a z) b)
18.0ms
(* (* a z) b)

series589.0ms

Counts
4 → 12
Calls
4 calls:
444.0ms
(sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b)))
91.0ms
(* (sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))) (sqrt (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))))
26.0ms
(* (* a z) b)
27.0ms
(* (* a z) b)

simplify63.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03241232
116801076
250011037

prune269.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 0b

regimes319.0ms

Accuracy

40.5% (1.2b remaining)

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

bsearch47.0ms

Steps
ItersRangePoint
9
2.079535231128971e-36
1.1972363210268361e-30
3.2799556102432093e-35

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03313
13313

end0.0ms

sample929.0ms

Algorithm
intervals
Results
399.0ms11747×body80valid