Details

Time bar (total: 4.9s)

sample30.0ms

Algorithm
intervals
Results
8.0ms272×body80nan
8.0ms256×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
20.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

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

series159.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune131.0ms

Filtered
49 candidates to 37 candidates (75.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 21.9b

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
20.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
20.8b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite53.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:
14.0ms
(+ (+ (* x y) (* x z)) (* y z))
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
13.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))
107.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
108.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify97.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0186576
1666520
22872508
35001508

prune224.0ms

Filtered
68 candidates to 52 candidates (76.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 21.9b

localize13.0ms

Local error

Found 4 expressions with local error:

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

series748.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
210.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
215.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
210.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify126.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
03592148
18532082
230302037
350011939

prune321.0ms

Filtered
101 candidates to 68 candidates (67.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 21.9b

localize22.0ms

Local error

Found 4 expressions with local error:

21.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
21.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
21.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
21.4b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
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)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series833.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
205.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
202.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
211.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0152700
1460648
21660612
35002608

prune417.0ms

Filtered
64 candidates to 64 candidates (100.0%)
Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 21.9b

regimes288.0ms

Accuracy

0% (0.1b remaining)

Error of 20.0b against oracle of 20.0b and baseline of 20.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample806.0ms

Algorithm
intervals
Results
249.0ms8000×body80valid
246.0ms7925×body80nan