Details

Time bar (total: 9.0s)

sample23.0ms

Algorithm
intervals
Results
9.0ms335×body80valid

simplify53.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
34212
44912
55512
66012
76212
done6212

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.1b

localize8.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.1b
(* (/ x y) z)

rewrite99.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:
20.0ms
(/ (+ x 4.0) y)
60.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
14.0ms
(* (/ x y) z)

series101.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ (+ x 4.0) y)
49.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
23.0ms
(* (/ x y) z)

simplify1.9s

Counts
126 → 126
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01651542
13981481
211521348
337461275
done50001256

prune292.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

1.1b
(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))

series44.0ms

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

simplify842.0ms

Counts
13 → 13
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
025184
146181
2104158
3280149
41299149
done5000149

prune44.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

3.1b
(* (/ x y) z)
14.7b
(cbrt (* (/ x y) z))
14.7b
(cbrt (* (/ x y) z))
14.7b
(cbrt (* (/ x y) z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*l*
12×add-cube-cbrt *-un-lft-identity
10×times-frac
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
Counts
4 → 70
Calls
4 calls:
14.0ms
(* (/ x y) z)
6.0ms
(cbrt (* (/ x y) z))
6.0ms
(cbrt (* (/ x y) z))
6.0ms
(cbrt (* (/ x y) z))

series289.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (/ x y) z)
88.0ms
(cbrt (* (/ x y) z))
88.0ms
(cbrt (* (/ x y) z))
90.0ms
(cbrt (* (/ x y) z))

simplify2.2s

Counts
82 → 82
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0105705
1221685
2610608
31709572
done5000556

prune263.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite95.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:
18.0ms
(/ (+ x 4.0) y)
60.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
13.0ms
(* x (/ z y))

series97.0ms

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

simplify1.6s

Counts
126 → 126
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01651558
14051485
211391360
335701306
done50001287

prune266.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes76.0ms

Accuracy

86.7% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.6b

bsearch69.0ms

Steps
ItersRangePoint
9
1.0091046748874805e-87
1.4331405092193504e-81
4.658387895605417e-85
8
-1.895856006822293e+23
-2.174738799182788e+20
-3.935238880029573e+20

simplify7.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02042
12631
done2631

end0.0ms

sample568.0ms

Algorithm
intervals
Results
284.0ms10026×body80valid