Details

Time bar (total: 3.9s)

sample32.0ms

Algorithm
intervals
Results
14.0ms383×body80valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (20.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.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:
43.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
2.0ms
(+ x (* y z))
10.0ms
(+ (+ x (* y z)) (* t a))
7.0ms
(* (* a z) b)

series196.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
25.0ms
(+ x (* y z))
47.0ms
(+ (+ x (* y z)) (* t a))
33.0ms
(* (* a z) b)

simplify69.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0358405
11787339
25001330

prune298.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.0ms

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

series201.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(fma y z (fma a t x))
110.0ms
(+ (fma y z (fma a t x)) (* (* a z) b))
32.0ms
(* (* a z) b)

simplify51.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0203236
11002211
25001211

prune198.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

4.9b
(* (* a z) b)
12.3b
(cbrt (* (* a z) b))
12.3b
(cbrt (* (* a z) b))
12.3b
(cbrt (* (* a z) b))

rewrite23.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:
6.0ms
(* (* a z) b)
5.0ms
(cbrt (* (* a z) b))
5.0ms
(cbrt (* (* a z) b))
6.0ms
(cbrt (* (* a z) b))

series332.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (* a z) b)
103.0ms
(cbrt (* (* a z) b))
101.0ms
(cbrt (* (* a z) b))
101.0ms
(cbrt (* (* a z) b))

simplify96.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0185316
1726268
23235259
35001240

prune310.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

4.9b
(* (* a z) b)
12.3b
(cbrt (* (* a z) b))
12.3b
(cbrt (* (* a z) b))
12.3b
(cbrt (* (* (* a z) (* (cbrt b) (cbrt b))) (cbrt b)))

rewrite67.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:
6.0ms
(* (* a z) b)
8.0ms
(cbrt (* (* a z) b))
5.0ms
(cbrt (* (* a z) b))
46.0ms
(cbrt (* (* (* a z) (* (cbrt b) (cbrt b))) (cbrt b)))

series333.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (* a z) b)
100.0ms
(cbrt (* (* a z) b))
101.0ms
(cbrt (* (* a z) b))
104.0ms
(cbrt (* (* (* a z) (* (cbrt b) (cbrt b))) (cbrt b)))

simplify93.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0202381
1765323
23341311
35002245

prune331.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes204.0ms

Accuracy

69.6% (0.6b remaining)

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

bsearch80.0ms

Steps
ItersRangePoint
3
1.2114925406406014e-189
1.4612420888189662e-189
1.3831953550132272e-189
9
-2.5777463992059176e-09
-1.3822770356938285e-14
-1.0890740179526285e-10

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03311
13311

end0.0ms

sample849.0ms

Algorithm
intervals
Results
446.0ms11882×body80valid