Details

Time bar (total: 4.4s)

sample33.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
8.0ms256×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite27.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:
2.0ms
(+ (* x y) (* x z))
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series167.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* x y) (* x z))
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
110.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify116.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune125.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 20.2b

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))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite47.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))
12.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
12.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series255.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0186576
1666520
22872508
35001508

prune232.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 20.2b

localize22.0ms

Local error

Found 4 expressions with local error:

19.2b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite104.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:
78.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)))

series761.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
215.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
218.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
212.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
03592148
18532082
230302037
350011939

prune403.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.2b

localize22.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))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite42.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))
12.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
21.0ms
(+ (+ (* x y) (* x z)) (* y z))
114.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
216.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify105.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0258586
1812528
23241510
35001508

prune266.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 20.2b

regimes261.0ms

Accuracy

0% (0.1b remaining)

Error of 19.8b against oracle of 19.7b and baseline of 19.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample827.0ms

Algorithm
intervals
Results
253.0ms8067×body80nan
251.0ms8000×body80valid