Details

Time bar (total: 5.5s)

sample67.0ms

Algorithm
intervals
Results
31.0ms940×body80nan
10.0ms288×body80valid

simplify98.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17610
221110
353010
4106510
5219810
6379410
7500110

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: 0.1b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
associate-*l/
flip3-- sqrt-div sqrt-prod flip--
*-commutative
frac-times associate-/r* associate-/r/
flip3-+ associate-*l* flip-+
+-commutative distribute-rgt-in frac-2neg distribute-lft-in clear-num div-inv
pow1/2
Counts
4 → 34
Calls
4 calls:
7.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
5.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
4.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
4.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series553.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
193.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
152.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
78.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0580515
12402491
25001487

prune167.0ms

Filtered
46 candidates to 44 candidates (95.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New41546
Fresh000
Picked101
Done000
Total42547

Merged error: 0.0b

Counts
47 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 9.0 (- a (/ 1.0 3.0)))
0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (- 1.0) rand) (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
0.2b
(/ (* (- 1.0) rand) (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
17×*-commutative
15×times-frac
10×neg-mul-1
distribute-lft-neg-in distribute-rgt-neg-in associate-*r/
flip3-- associate-*l* flip--
associate-/r*
distribute-rgt-in frac-times distribute-lft-in sqrt-div
flip3-+ flip-+ associate-/l*
+-commutative sub-neg associate-*l/ associate-/r/ distribute-neg-frac
distribute-lft-neg-out frac-2neg pow1/2 distribute-frac-neg clear-num div-inv
Counts
4 → 54
Calls
4 calls:
3.0ms
(* 9.0 (- a (/ 1.0 3.0)))
9.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (- 1.0) rand) (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
7.0ms
(/ (* (- 1.0) rand) (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
4.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series467.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* 9.0 (- a (/ 1.0 3.0)))
134.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (- 1.0) rand) (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
209.0ms
(/ (* (- 1.0) rand) (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
80.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify53.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0578681
11981666
25001662

prune235.0ms

Filtered
66 candidates to 59 candidates (89.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63366
Fresh224
Picked101
Done000
Total66571

Merged error: 0.0b

Counts
71 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ -1 (/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand)))))
0.2b
(/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
1.0b
(/ -1 (/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
27×*-commutative
26×sqrt-prod
20×times-frac
16×associate-/r*
13×associate-/r/
12×distribute-lft-neg-in distribute-rgt-neg-in
10×associate-/l*
associate-*r/
neg-mul-1 flip3-- sqrt-div flip--
frac-times associate-/l/ distribute-neg-frac
frac-2neg flip3-+ clear-num flip-+ div-inv
+-commutative distribute-rgt-in distribute-lft-in associate-*l/
neg-sub0 pow1/2 div-sub distribute-frac-neg associate-*r* distribute-rgt1-in
Counts
4 → 69
Calls
4 calls:
9.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ -1 (/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand)))))
6.0ms
(/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand))
4.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
8.0ms
(/ -1 (/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand)))

series603.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ -1 (/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand)))))
182.0ms
(/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand))
83.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
203.0ms
(/ -1 (/ (- (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (* 1.0 rand)))

simplify65.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0700775
12545748
25001742

prune293.0ms

Filtered
81 candidates to 78 candidates (96.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh044
Picked011
Done000
Total81586

Merged error: 0.0b

Counts
86 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- a (/ 1.0 3.0))
0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ -1 (sqrt (- a (/ 1.0 3.0)))) (/ (* 1.0 rand) (- (sqrt 9.0))))))
0.2b
(/ -1 (sqrt (- a (/ 1.0 3.0))))
0.3b
(* (/ -1 (sqrt (- a (/ 1.0 3.0)))) (/ (* 1.0 rand) (- (sqrt 9.0))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×frac-times
13×clear-num
12×frac-2neg
associate-*r/ associate-/l*
*-commutative
neg-mul-1 flip3-- flip--
associate-*l/
sqrt-div associate-/r* associate-/r/
flip3-+ associate-*r* associate-*l* flip-+ div-inv
+-commutative distribute-rgt-in distribute-lft-in times-frac
sub-neg un-div-inv
Counts
4 → 57
Calls
4 calls:
2.0ms
(- a (/ 1.0 3.0))
8.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ -1 (sqrt (- a (/ 1.0 3.0)))) (/ (* 1.0 rand) (- (sqrt 9.0))))))
3.0ms
(/ -1 (sqrt (- a (/ 1.0 3.0))))
8.0ms
(* (/ -1 (sqrt (- a (/ 1.0 3.0)))) (/ (* 1.0 rand) (- (sqrt 9.0))))

series515.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- a (/ 1.0 3.0))
168.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ -1 (sqrt (- a (/ 1.0 3.0)))) (/ (* 1.0 rand) (- (sqrt 9.0))))))
85.0ms
(/ -1 (sqrt (- a (/ 1.0 3.0))))
239.0ms
(* (/ -1 (sqrt (- a (/ 1.0 3.0)))) (/ (* 1.0 rand) (- (sqrt 9.0))))

simplify78.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0647732
13291688
25002682

prune224.0ms

Filtered
69 candidates to 58 candidates (84.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh033
Picked011
Done011
Total69574

Merged error: 0.0b

Counts
74 → 5

regimes71.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02212
12212

end0.0ms

sample1.8s

Algorithm
intervals
Results
895.0ms28053×body80nan
309.0ms9183×body80valid