Details

Time bar (total: 3.3s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms230×body80nan

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.5b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative flip3-+ flip-+
associate-+l+ sqrt-div *-commutative
distribute-rgt-out pow1/2 distribute-lft-out
Counts
3 → 13
Calls
3 calls:
4.0ms
(+ (* x y) (* x z))
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series161.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0176154
1571142
21946134
35002131

prune70.0ms

Filtered
22 candidates to 15 candidates (68.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New20222
Fresh000
Picked011
Done000
Total20323

Merged error: 18.5b

Counts
23 → 3

localize29.0ms

Local error

Found 4 expressions with local error:

10.1b
(- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z)))
11.3b
(/ (sqrt (- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z)))) (sqrt (- (+ (* x y) (* x z)) (* y z))))
12.1b
(sqrt (- (+ (* x y) (* x z)) (* y z)))
13.8b
(sqrt (- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z))))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
12×*-commutative difference-of-squares
sqrt-div sqrt-prod
flip3-- flip--
associate--l+ associate-/l*
+-commutative distribute-rgt-in distribute-lft-in pow1/2 associate-/r/ associate-/l/
sub-neg sqrt-undiv frac-2neg clear-num div-inv
Counts
4 → 34
Calls
4 calls:
23.0ms
(- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z)))
46.0ms
(/ (sqrt (- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z)))) (sqrt (- (+ (* x y) (* x z)) (* y z))))
10.0ms
(sqrt (- (+ (* x y) (* x z)) (* y z)))
32.0ms
(sqrt (- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z))))

series548.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z)))
202.0ms
(/ (sqrt (- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z)))) (sqrt (- (+ (* x y) (* x z)) (* y z))))
106.0ms
(sqrt (- (+ (* x y) (* x z)) (* y z)))
172.0ms
(sqrt (- (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (* (* y z) (* y z))))

simplify46.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0268555
11065515
25001505

prune130.0ms

Filtered
46 candidates to 32 candidates (69.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44246
Fresh011
Picked101
Done011
Total45449

Merged error: 18.3b

Counts
49 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (* x y) (* x z))
0.9b
(- (+ (* x y) (* x z)) (* y z))
11.3b
(/ (* x (+ y z)) (sqrt (- (+ (* x y) (* x z)) (* y z))))
12.1b
(sqrt (- (+ (* x y) (* x z)) (* y z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div
flip3-- *-commutative flip--
+-commutative flip3-+ associate-*r/ associate--l+ associate-/r/ flip-+ associate-/l/ associate-/l*
sub-neg distribute-rgt-out frac-2neg pow1/2 clear-num div-inv distribute-lft-out
Counts
4 → 23
Calls
4 calls:
4.0ms
(+ (* x y) (* x z))
10.0ms
(- (+ (* x y) (* x z)) (* y z))
10.0ms
(/ (* x (+ y z)) (sqrt (- (+ (* x y) (* x z)) (* y z))))
6.0ms
(sqrt (- (+ (* x y) (* x z)) (* y z)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* x y) (* x z))
23.0ms
(- (+ (* x y) (* x z)) (* y z))
166.0ms
(/ (* x (+ y z)) (sqrt (- (+ (* x y) (* x z)) (* y z))))
105.0ms
(sqrt (- (+ (* x y) (* x z)) (* y z)))

simplify107.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0258268
1840250
23357239
35002239

prune89.0ms

Filtered
35 candidates to 25 candidates (71.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33235
Fresh202
Picked101
Done011
Total36339

Merged error: 18.2b

Counts
39 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ y z) (/ (sqrt (- (+ (* x y) (* x z)) (* y z))) x))
0.6b
(+ (* x y) (* x z))
0.9b
(- (+ (* x y) (* x z)) (* y z))
12.1b
(sqrt (- (+ (* x y) (* x z)) (* y z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
sqrt-div associate-/l/
flip3-- flip--
+-commutative frac-2neg flip3-+ associate--l+ clear-num *-commutative flip-+ div-inv
sub-neg distribute-rgt-out pow1/2 associate-/r* distribute-lft-out
Counts
4 → 25
Calls
4 calls:
9.0ms
(/ (+ y z) (/ (sqrt (- (+ (* x y) (* x z)) (* y z))) x))
4.0ms
(+ (* x y) (* x z))
7.0ms
(- (+ (* x y) (* x z)) (* y z))
6.0ms
(sqrt (- (+ (* x y) (* x z)) (* y z)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(/ (+ y z) (/ (sqrt (- (+ (* x y) (* x z)) (* y z))) x))
31.0ms
(+ (* x y) (* x z))
26.0ms
(- (+ (* x y) (* x z)) (* y z))
105.0ms
(sqrt (- (+ (* x y) (* x z)) (* y z)))

simplify112.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0255275
1831259
23312247
35001247

prune84.0ms

Filtered
37 candidates to 26 candidates (70.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh101
Picked101
Done011
Total37340

Merged error: 18.2b

Counts
40 → 3

regimes104.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample839.0ms

Algorithm
intervals
Results
252.0ms8000×body80valid
240.0ms7925×body80nan