Details

Time bar (total: 3.5s)

sample31.0ms

Algorithm
intervals
Results
8.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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.4b

localize12.0ms

Local error

Found 3 expressions with local error:

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

series162.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0249356
1908323
23660315
35001315

prune133.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 19.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
1.2b
(+ (* x y) (* z (+ x y)))
18.4b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+r+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
9.0ms
(* z (+ x y))
3.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series153.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0273328
11133303
25001299

prune147.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.3b

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

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

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

simplify93.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0186576
1666520
22872508
35001508

prune240.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 19.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x y))
0.6b
(cbrt (+ x y))
1.2b
(+ (* x y) (* (* z (* (cbrt (+ x y)) (cbrt (+ x y)))) (cbrt (+ x y))))
18.4b
(sqrt (+ (* x y) (* (* z (* (cbrt (+ x y)) (cbrt (+ x y)))) (cbrt (+ x y)))))

rewrite12.0ms

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

series458.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(cbrt (+ x y))
128.0ms
(cbrt (+ x y))
55.0ms
(+ (* x y) (* (* z (* (cbrt (+ x y)) (cbrt (+ x y)))) (cbrt (+ x y))))
141.0ms
(sqrt (+ (* x y) (* (* z (* (cbrt (+ x y)) (cbrt (+ x y)))) (cbrt (+ x y)))))

simplify149.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (142.0ms)

IterNodesCost
0286683
1946599
24660573
35001572

prune212.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 19.2b

regimes250.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample836.0ms

Algorithm
intervals
Results
265.0ms8107×body80nan
260.0ms8000×body80valid