Details

Time bar (total: 3.4s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms239×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.7b

localize9.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)))

rewrite15.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)))

series163.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0249356
1908323
23660315
35001315

prune133.0ms

Filtered
49 candidates to 38 candidates (77.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 20.6b

localize8.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))))

rewrite14.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))))

series152.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273328
11133303
25001299

prune143.0ms

Filtered
60 candidates to 43 candidates (71.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.6b

localize11.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))))

series258.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0184494
1668454
23235448
35002448

prune231.0ms

Filtered
68 candidates to 56 candidates (82.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 20.6b

localize16.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))))

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

series531.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0256551
1814509
23604490
35002487

prune291.0ms

Filtered
66 candidates to 59 candidates (89.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 20.6b

regimes95.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

sample881.0ms

Algorithm
intervals
Results
269.0ms8000×body80valid
256.0ms8137×body80nan