Details

Time bar (total: 7.5s)

sample20.0ms

Algorithm
intervals
Results
10.0ms329×body80valid

simplify41.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01012
11612
22812
34312
45012
55612
66112
76312
done6312

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.2b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.0b
(* (/ x y) z)

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 117
Calls
3 calls:
10.0ms
(/ (+ x 4.0) y)
32.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
8.0ms
(* (/ x y) z)

series89.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ (+ x 4.0) y)
41.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
20.0ms
(* (/ x y) z)

simplify2.0s

Counts
126 → 126
Iterations

Useful iterations: 3 (792.0ms)

IterNodesCost
01651542
13971481
211711346
345121275
done50001275

prune300.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
0.9b
(* (/ (* (cbrt x) (cbrt x)) (* (cbrt y) (cbrt y))) (* (/ (cbrt x) (cbrt y)) z))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
73×add-exp-log
39×add-cbrt-cube
37×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
pow1 cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 pow-prod-down associate-*l/
frac-times times-frac associate-*r/ associate-*r* *-commutative div-inv
Counts
4 → 90
Calls
4 calls:
0.0ms
(cbrt x)
0.0ms
(cbrt x)
0.0ms
(cbrt x)
41.0ms
(* (/ (* (cbrt x) (cbrt x)) (* (cbrt y) (cbrt y))) (* (/ (cbrt x) (cbrt y)) z))

series553.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt x)
172.0ms
(cbrt x)
176.0ms
(cbrt x)
27.0ms
(* (/ (* (cbrt x) (cbrt x)) (* (cbrt y) (cbrt y))) (* (/ (cbrt x) (cbrt y)) z))

simplify612.0ms

Counts
102 → 102
Iterations

Useful iterations: done (610.0ms)

IterNodesCost
01251658
14121592
21868818
done5001814

prune310.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

1.2b
(fma (/ x y) (- 1 z) (/ 4.0 y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (/ x y) (- 1 z) (/ 4.0 y))

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(fma (/ x y) (- 1 z) (/ 4.0 y))

simplify769.0ms

Counts
13 → 13
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
025184
146181
2101158
3265149
41211149
done5002149

prune46.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ (- 1 z) (/ y x)) (/ 4.0 y))
3.5b
(/ (- 1 z) (/ y x))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
277×times-frac
213×*-un-lft-identity
202×add-sqr-sqrt
121×add-cube-cbrt
83×fma-def
54×difference-of-squares
28×distribute-lft-out--
15×div-inv
13×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
cbrt-undiv div-exp distribute-lft-out
pow1 expm1-log1p-u div-sub associate-/r/ log1p-expm1-u associate-/l/
+-commutative associate-+l- flip3-- frac-2neg flip3-+ frac-add clear-num sum-log flip-- flip-+
Counts
2 → 218
Calls
2 calls:
96.0ms
(+ (/ (- 1 z) (/ y x)) (/ 4.0 y))
13.0ms
(/ (- 1 z) (/ y x))

series74.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ (/ (- 1 z) (/ y x)) (/ 4.0 y))
31.0ms
(/ (- 1 z) (/ y x))

simplify1.1s

Counts
224 → 224
Iterations

Useful iterations: 2 (263.0ms)

IterNodesCost
02542277
16942106
220581997
done50001997

prune580.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes80.0ms

Accuracy

92.6% (0.1b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
9
7.601695444954457e-41
3.5276053561013562e-34
4.1763185447825497e-35
8
-9.045624087032693e-17
-9.681018474890237e-20
-1.384698452851939e-17

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02042
12631
done2631

end0.0ms

sample510.0ms

Algorithm
intervals
Results
302.0ms10198×body80valid