Details

Time bar (total: 4.3s)

sample28.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms226×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.7b

localize9.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
14.0ms
(+ (+ (* x y) (* x z)) (* y z))
12.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series160.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x y) (* x z))
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
109.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify120.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune136.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 18.7b

localize12.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
4 → 56
Calls
4 calls:
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
15.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
12.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
108.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
108.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify94.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0186576
1666520
22872508
35001508

prune234.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.7b

localize19.0ms

Local error

Found 4 expressions with local error:

17.7b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
80.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series728.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
203.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
203.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
207.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify117.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
03592148
18532082
230302037
350011939

prune373.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 18.7b

localize21.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.7b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.3b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity sum-log
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+
cbrt-prod sqrt-prod
+-commutative associate-+l+ cbrt-div sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 54
Calls
4 calls:
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
16.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (+ (* x y) (* x z)) (* y z))
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
108.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
223.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify98.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0258585
1812527
23241509
35001507

prune245.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.7b

regimes209.0ms

Accuracy

0% (0.1b remaining)

Error of 19.5b against oracle of 19.5b and baseline of 19.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample820.0ms

Algorithm
intervals
Results
253.0ms8000×body80valid
252.0ms8189×body80nan