Details

Time bar (total: 6.3s)

sample131.0ms

Algorithm
intervals
Results
56.0ms102×body2560valid
26.0ms69×body1280valid
17.0ms248×body80nan
11.0ms37×body640valid
4.0ms20×body320valid
4.0ms26×body160valid
0.0msbody80valid

simplify96.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1437
2847
31557
42627
54547
628787
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.7b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
0.2b
(* 5.0 (* v v))
0.7b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×times-frac
10×add-exp-log add-cbrt-cube
pow1
associate-/r* difference-of-squares
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u associate-/l* add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv acos-asin frac-2neg div-sub div-exp associate-*r* clear-num *-commutative div-inv unswap-sqr
Counts
3 → 69
Calls
3 calls:
14.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
6.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series109.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
24.0ms
(* 5.0 (* v v))
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0349623
11288567
25001565

prune177.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))
0.0b
(* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0))))
0.2b
(* 5.0 (* v v))
0.7b
(acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
56×add-exp-log
36×times-frac
35×cbrt-prod associate-*r*
32×*-un-lft-identity
29×add-cube-cbrt
26×cbrt-div
25×associate-*l*
24×prod-exp
23×add-cbrt-cube
18×pow1
15×div-exp
14×unswap-sqr
13×flip3-- flip--
12×cbrt-unprod
10×associate-/r/
frac-times
cbrt-undiv swap-sqr difference-of-squares
pow1/3 pow-prod-down
associate-*r/ associate-*l/
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
*-commutative
pow-sqr pow-prod-up div-inv
pow2 acos-asin pow-plus
Counts
4 → 169
Calls
4 calls:
23.0ms
(* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))
95.0ms
(* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0))))
6.0ms
(* 5.0 (* v v))
1.0ms
(acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))

series332.0ms

Counts
4 → 12
Calls
4 calls:
220.0ms
(* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))
84.0ms
(* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0))))
24.0ms
(* 5.0 (* v v))
4.0ms
(acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))

simplify112.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08552604
140982274
250022112

prune442.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0))))))
0.0b
(expm1 (log1p (acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))))
0.2b
(* 5.0 (* v v))
0.7b
(acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
expm1-log1p-u add-cube-cbrt *-un-lft-identity
log1p-expm1-u add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
acos-asin log1p-udef expm1-log1p log1p-expm1 associate-*r* *-commutative expm1-udef unswap-sqr
Counts
4 → 53
Calls
4 calls:
0.0ms
(log1p (acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0))))))
0.0ms
(expm1 (log1p (acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))))
6.0ms
(* 5.0 (* v v))
1.0ms
(acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(log1p (acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0))))))
125.0ms
(expm1 (log1p (acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))))
24.0ms
(* 5.0 (* v v))
9.0ms
(acos (* (/ 1 (* (cbrt (- (* v v) 1.0)) (cbrt (- (* v v) 1.0)))) (/ (- 1.0 (* 5.0 (* v v))) (cbrt (- (* v v) 1.0)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0163863
1444738
21312738
35001738

prune179.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize10.0ms

Local error

Found 4 expressions with local error:

0.7b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
0.9b
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
0.9b
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 acos-asin pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 91
Calls
4 calls:
0.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
1.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
6.0ms
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
22.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
16.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
4.0ms
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

simplify109.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
01321070
1439956
22385912
35002881

prune167.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.7b

regimes92.0ms

Accuracy

0% (0.1b remaining)

Error of 0.6b against oracle of 0.5b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02019
12019

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s2979×body2560valid
938.0ms2515×body1280valid
527.0ms7769×body80nan
354.0ms1256×body640valid
137.0ms639×body320valid
63.0ms410×body160valid
20.0ms201×body80valid