Details

Time bar (total: 4.2s)

sample33.0ms

Algorithm
intervals
Results
11.0ms263×body80nan
8.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.5b

localize10.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (* x y) (* x z))
19.4b
(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:
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
3.0ms
(+ (* x y) (* x z))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series164.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(+ (* x y) (* x z))
107.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify113.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune137.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.4b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
Counts
4 → 54
Calls
4 calls:
2.0ms
(+ (* x y) (* x z))
2.0ms
(+ (* x y) (* x z))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* x y) (* x z))
31.0ms
(+ (* x y) (* x z))
116.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
110.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify86.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0212468
1733434
22574424
35001424

prune243.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 20.4b

localize19.0ms

Local error

Found 4 expressions with local error:

15.0b
(cbrt (+ (* x y) (* x z)))
15.0b
(cbrt (+ (* x y) (* x z)))
19.4b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite74.0ms

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

series633.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(cbrt (+ (* x y) (* x z)))
114.0ms
(cbrt (+ (* x y) (* x z)))
302.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))
107.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify109.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0329829
1982550
23380532
35001528

prune319.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 20.4b

localize22.0ms

Local error

Found 4 expressions with local error:

19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
105.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
107.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
113.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify61.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0141668
1472620
21729608
35002596

prune285.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 20.4b

regimes193.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample828.0ms

Algorithm
intervals
Results
252.0ms8114×body80nan
246.0ms8000×body80valid