Details

Time bar (total: 12.2s)

sample28.0ms

Algorithm
intervals
Results
13.0ms331×body80valid

simplify55.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
34212
44912
55512
66112
76312
done6312

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.4b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite208.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:
40.0ms
(/ (+ x 4.0) y)
131.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
28.0ms
(* (/ x y) z)

series119.0ms

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

simplify2.1s

Counts
126 → 126
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01651542
14121481
220911348
done50001303

prune453.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite180.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-*r*
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:
38.0ms
(/ (+ x 4.0) y)
100.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
29.0ms
(* x (/ z y))

series134.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(/ (+ x 4.0) y)
47.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
34.0ms
(* x (/ z y))

simplify1.3s

Counts
126 → 126
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01651558
14331489
217771392
done50011350

prune520.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt y)
0.5b
(cbrt y)
0.5b
(* (cbrt y) (cbrt y))
3.6b
(* (/ x (* (cbrt y) (cbrt y))) (/ z (cbrt y)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
33×cbrt-prod
29×add-cube-cbrt *-un-lft-identity
28×times-frac associate-*r*
27×add-exp-log
18×add-cbrt-cube
13×pow1 associate-*l*
10×unswap-sqr
prod-exp cbrt-unprod
pow1/3
cbrt-undiv div-exp
swap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down
pow-sqr *-commutative pow-prod-up div-inv
pow2 frac-times pow-plus associate-*r/ associate-*l/
Counts
4 → 129
Calls
4 calls:
1.0ms
(cbrt y)
3.0ms
(cbrt y)
11.0ms
(* (cbrt y) (cbrt y))
45.0ms
(* (/ x (* (cbrt y) (cbrt y))) (/ z (cbrt y)))

series932.0ms

Counts
4 → 12
Calls
4 calls:
318.0ms
(cbrt y)
253.0ms
(cbrt y)
289.0ms
(* (cbrt y) (cbrt y))
73.0ms
(* (/ x (* (cbrt y) (cbrt y))) (/ z (cbrt y)))

simplify2.5s

Counts
141 → 141
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01781527
15301250
238481090
done50011022

prune412.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize20.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (+ x 4.0) (/ 1 y) (* (- z) (/ x y)))
4.2b
(* (- z) (/ x y))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*r*
12×add-cube-cbrt *-un-lft-identity
10×times-frac associate-*l*
add-exp-log add-cbrt-cube
pow1
distribute-lft-neg-in distribute-rgt-neg-in
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv distribute-lft-neg-out neg-mul-1 associate-*r/ div-exp pow-prod-down *-commutative fma-udef div-inv
Counts
2 → 52
Calls
2 calls:
0.0ms
(fma (+ x 4.0) (/ 1 y) (* (- z) (/ x y)))
28.0ms
(* (- z) (/ x y))

series95.0ms

Counts
2 → 6
Calls
2 calls:
71.0ms
(fma (+ x 4.0) (/ 1 y) (* (- z) (/ x y)))
24.0ms
(* (- z) (/ x y))

simplify1.0s

Counts
58 → 58
Iterations

Useful iterations: 2 (214.0ms)

IterNodesCost
0101604
1278581
21519494
done5000494

prune218.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes129.0ms

Accuracy

93.7% (0.1b remaining)

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

bsearch106.0ms

Steps
ItersRangePoint
9
0.001549950382843741
122798.17944922931
4.452832877986661
7
-1.5843314335962344e+52
-5.251409787917608e+50
-5.323311533620367e+50

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02042
12631
done2631

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.1s10108×body80valid