Details

Time bar (total: 4.5s)

sample34.0ms

Algorithm
intervals
Results
15.0ms385×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (14.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune14.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))
4.5b
(* (* a z) b)

rewrite143.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:
23.0ms
(+ (+ x (* y z)) (* t a))
6.0ms
(+ x (* y z))
94.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
18.0ms
(* (* a z) b)

series169.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(+ (+ x (* y z)) (* t a))
22.0ms
(+ x (* y z))
78.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
24.0ms
(* (* a z) b)

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0358405
11787339
25002330

prune394.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* y z))
0.0b
(fma t a (* (* a z) b))
0.0b
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
4.5b
(* (* a z) b)

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
11×add-log-exp
pow1 add-exp-log *-un-lft-identity add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
fma-def
expm1-log1p-u sum-log log1p-expm1-u
associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ flip-+ fma-udef
associate-+l+ associate-+r+ associate-*l* *-commutative distribute-lft-out
Counts
4 → 66
Calls
4 calls:
6.0ms
(+ x (* y z))
0.0ms
(fma t a (* (* a z) b))
26.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
17.0ms
(* (* a z) b)

series187.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ x (* y z))
53.0ms
(fma t a (* (* a z) b))
83.0ms
(+ (+ x (* y z)) (fma t a (* (* a z) b)))
24.0ms
(* (* a z) b)

simplify40.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0283338
11270288
25001276

prune565.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt b)
0.6b
(cbrt b)
1.3b
(* (* (* a z) (* (cbrt b) (cbrt b))) (cbrt b))
3.4b
(* (* a z) (* (cbrt b) (cbrt b)))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
34×pow1 add-exp-log
21×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*l* *-commutative
Counts
4 → 82
Calls
4 calls:
1.0ms
(cbrt b)
1.0ms
(cbrt b)
104.0ms
(* (* (* a z) (* (cbrt b) (cbrt b))) (cbrt b))
35.0ms
(* (* a z) (* (cbrt b) (cbrt b)))

series493.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt b)
173.0ms
(cbrt b)
41.0ms
(* (* (* a z) (* (cbrt b) (cbrt b))) (cbrt b))
98.0ms
(* (* a z) (* (cbrt b) (cbrt b)))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0264571
11326416
25002367

prune434.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma z y (* (fma b z t) a))
0.0b
(+ x (fma z y (* (fma b z t) a)))
1.9b
(* (fma b z t) a)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u fma-def associate-*r* associate-*l* log1p-expm1-u
fma-udef
+-commutative associate-+r+ flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
3 → 48
Calls
3 calls:
0.0ms
(fma z y (* (fma b z t) a))
9.0ms
(+ x (fma z y (* (fma b z t) a)))
7.0ms
(* (fma b z t) a)

series178.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(fma z y (* (fma b z t) a))
84.0ms
(+ x (fma z y (* (fma b z t) a)))
42.0ms
(* (fma b z t) a)

simplify78.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0166236
1519211
22957211
35001210

prune245.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes169.0ms

Accuracy

89.1% (0.2b remaining)

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

bsearch111.0ms

Steps
ItersRangePoint
7
5.296233345725543e+67
2.163319157250536e+69
3.5151300641898294e+68
8
-1.083335415915672e+47
-8.542910157312973e+43
-5.3468783607389116e+45

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0247
1247

end0.0ms

sample900.0ms

Algorithm
intervals
Results
492.0ms11889×body80valid