Details

Time bar (total: 3.4s)

analyze77.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
6.2%43.7%50%5
9.4%28.1%62.5%6
12.5%25%62.5%7
15.6%15.6%68.8%8
16.8%14.4%68.8%9
18.5%8.8%72.7%10
19.2%7.7%73.1%11
20.1%4.6%75.2%12
20.5%4%75.5%13
21%2.4%76.6%14

sample23.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
1.0ms10×body80nan
0.0msbody80invalid

simplify147.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (146.0ms)

IterNodesCost
0490820
1490820

prune10.0ms

Filtered
1 candidates to 1 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 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
23×*-un-lft-identity
17×add-cube-cbrt
14×times-frac
12×associate-*l*
11×pow1
10×add-exp-log add-cbrt-cube
associate-*l/
associate-*r*
flip3-- flip--
sqrt-prod
frac-times sqrt-div associate-/r* add-log-exp difference-of-squares
flip3-+ pow-prod-down flip-+ associate-/l*
sqrt-pow1 associate-*r/ prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in pow1/2 div-exp clear-num div-inv distribute-lft-out
Counts
4 → 101
Calls
4 calls:
9.0ms
(* (- a (/ 1.0 3.0)) 9.0)
23.0ms
(* (- a (/ 1.0 3.0)) (+ (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))) 1))
7.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
13.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (- a (/ 1.0 3.0)) 9.0)
12.0ms
(* (- a (/ 1.0 3.0)) (+ (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))) 1))
5.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
15.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))

simplify35.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
057871905

prune256.0ms

Filtered
90 candidates to 113 candidates (-25.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1067113
Fresh101
Picked101
Done000
Total1087115

Merged error: 0b

Counts
115 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1
22×add-sqr-sqrt
20×add-exp-log
18×*-un-lft-identity
16×add-cube-cbrt
15×pow-prod-down
14×associate-*l/
13×times-frac add-cbrt-cube
prod-exp cbrt-unprod
associate-*r* associate-*l*
sqrt-prod
flip3-- sqrt-pow1 sqrt-div associate-/r* flip-- add-log-exp
cbrt-prod associate-/l*
associate-/r/ *-commutative difference-of-squares
cbrt-undiv frac-2neg pow1/2 div-exp clear-num div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 98
Calls
4 calls:
14.0ms
(sqrt (* (* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0))) (cbrt 9.0)))
16.0ms
(/ rand (sqrt (* (* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0))) (cbrt 9.0))))
16.0ms
(* (* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0))) (cbrt 9.0))
13.0ms
(* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (* (* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0))) (cbrt 9.0)))
19.0ms
(/ rand (sqrt (* (* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0))) (cbrt 9.0))))
11.0ms
(* (* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0))) (cbrt 9.0))
13.0ms
(* (- a (/ 1.0 3.0)) (* (cbrt 9.0) (cbrt 9.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049661451
149661451

prune231.0ms

Filtered
83 candidates to 110 candidates (-32.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1100110
Fresh066
Picked011
Done000
Total1107117

Merged error: 0b

Counts
117 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
54×sqrt-div
32×add-sqr-sqrt
26×associate-*r/
22×*-un-lft-identity
19×flip3-- flip--
18×add-cube-cbrt sqrt-prod
17×pow1
14×times-frac
13×add-exp-log add-cbrt-cube
12×frac-times associate-*l*
10×associate-*r*
associate-/r/
pow-prod-down
associate-*l/
prod-exp associate-/r* cbrt-unprod add-log-exp difference-of-squares
sqrt-pow1 associate-/l*
*-commutative distribute-lft-out-- unswap-sqr
cbrt-undiv frac-2neg pow1/2 div-exp clear-num div-inv
Counts
4 → 118
Calls
4 calls:
17.0ms
(sqrt (* (sqrt (- a (/ 1.0 3.0))) (* 9.0 (sqrt (- a (/ 1.0 3.0))))))
19.0ms
(/ rand (sqrt (* (sqrt (- a (/ 1.0 3.0))) (* 9.0 (sqrt (- a (/ 1.0 3.0)))))))
10.0ms
(* 9.0 (sqrt (- a (/ 1.0 3.0))))
18.0ms
(* (sqrt (- a (/ 1.0 3.0))) (* 9.0 (sqrt (- a (/ 1.0 3.0)))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (* (sqrt (- a (/ 1.0 3.0))) (* 9.0 (sqrt (- a (/ 1.0 3.0))))))
17.0ms
(/ rand (sqrt (* (sqrt (- a (/ 1.0 3.0))) (* 9.0 (sqrt (- a (/ 1.0 3.0)))))))
5.0ms
(* 9.0 (sqrt (- a (/ 1.0 3.0))))
6.0ms
(* (sqrt (- a (/ 1.0 3.0))) (* 9.0 (sqrt (- a (/ 1.0 3.0)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
052902175

prune290.0ms

Filtered
99 candidates to 130 candidates (-31.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh055
Picked011
Done011
Total1307137

Merged error: 0b

Counts
137 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
441×times-frac
343×add-sqr-sqrt
261×*-un-lft-identity
258×sqrt-prod
205×add-cube-cbrt
54×difference-of-squares
36×associate-/l*
27×distribute-lft-out--
18×sqrt-div
16×associate-/r/
15×associate-/r*
13×add-exp-log add-cbrt-cube
12×flip3-- flip--
div-inv
pow1
associate-*l*
cbrt-undiv frac-times div-exp associate-*r* add-log-exp
flip3-+ flip-+
frac-2neg associate-*r/ associate-*l/ clear-num
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod associate-/l/ distribute-lft-out unswap-sqr
Counts
4 → 355
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
72.0ms
(* (- a (/ 1.0 3.0)) (+ (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)) 1))
20.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))
9.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))

series49.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt (- a (/ 1.0 3.0)))
13.0ms
(* (- a (/ 1.0 3.0)) (+ (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)) 1))
16.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))
16.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))

simplify105.0ms

Algorithm
egg-herbie
Counts
367 → 367
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049887942
149887942

prune827.0ms

Filtered
219 candidates to 367 candidates (-67.6%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New3670367
Fresh044
Picked011
Done022
Total3677374

Merged error: 0b

Counts
374 → 7

regimes169.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03927
13927

end0.0ms

sample629.0ms

Algorithm
intervals
Results
459.0ms8000×body80valid
15.0ms270×body80invalid
14.0ms269×body80nan

Profiling

Loading profile data...