Details

Time bar (total: 3.5s)

sample31.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
8.0ms239×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: 20.7b

localize10.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (* x y) (* x z))
2.0b
(+ (+ (* x y) (* x z)) (* y z))
19.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite16.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:
4.0ms
(+ (* x y) (* x z))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series164.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune139.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 20.6b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
1.4b
(+ (* x y) (* z (+ x y)))
19.6b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite15.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:
6.0ms
(* z (+ x y))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series158.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273328
11133303
25001299

prune157.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.6b

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (* x y) (* z (+ x y)))
1.4b
(+ (* x y) (* z (+ x y)))
19.6b
(sqrt (+ (* x y) (* z (+ x y))))
19.6b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log associate-+r+ flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
4.0ms
(+ (* x y) (* z (+ x y)))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series256.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0184494
1668454
23235448
35002448

prune247.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 20.6b

localize20.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (* x y) (* z (+ x y)))
19.6b
(sqrt (+ (* x y) (* z (+ x y))))
20.2b
(cbrt (+ (* x y) (* z (+ x y))))
20.2b
(cbrt (+ (* x y) (* z (+ x y))))

rewrite17.0ms

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

series534.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0256552
1814510
23604491
35002488

prune317.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 20.6b

regimes104.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample898.0ms

Algorithm
intervals
Results
284.0ms8000×body80valid
277.0ms8137×body80nan