Details

Time bar (total: 8.5s)

sample19.0ms

Algorithm
intervals
Results
9.0ms315×body80valid

simplify39.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01012
11612
22812
34312
45012
55612
66112
76312
done6312

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
34×times-frac
31×add-sqr-sqrt
26×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 add-log-exp
associate-*r* associate-*l/ div-inv
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down *-commutative frac-sub flip-- sub-div
Counts
2 → 82
Calls
2 calls:
34.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
8.0ms
(* (/ x y) z)

series65.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
21.0ms
(* (/ x y) z)

simplify2.4s

Counts
88 → 88
Iterations

Useful iterations: 3 (521.0ms)

IterNodesCost
01421182
13331148
211231028
34822955
done5000955

prune210.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt
times-frac
add-log-exp
add-exp-log fma-neg prod-diff add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- diff-log flip-- log1p-expm1-u associate-/l/ distribute-lft-out
cbrt-undiv sub-neg frac-2neg div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
2 → 56
Calls
2 calls:
22.0ms
(- (+ x 4.0) (* x z))
38.0ms
(/ (- (+ x 4.0) (* x z)) y)

series68.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(- (+ x 4.0) (* x z))
48.0ms
(/ (- (+ x 4.0) (* x z)) y)

simplify1.5s

Counts
62 → 62
Iterations

Useful iterations: done (1.5s)

IterNodesCost
097834
1232809
2779737
33571729
done5001724

prune145.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ x 4.0) (* x z))
0.2b
(/ 1 (/ y (- (+ x 4.0) (* x z))))
2.2b
(/ y (- (+ x 4.0) (* x z)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
61×*-un-lft-identity
57×add-sqr-sqrt add-cube-cbrt
18×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp add-log-exp
flip3-- flip-- div-inv associate-/l*
pow1 cbrt-undiv fma-neg prod-diff
expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg diff-log 1-exp clear-num distribute-lft-out
sub-neg pow-flip associate--l+ sum-log inv-pow
Counts
3 → 141
Calls
3 calls:
22.0ms
(- (+ x 4.0) (* x z))
24.0ms
(/ 1 (/ y (- (+ x 4.0) (* x z))))
17.0ms
(/ y (- (+ x 4.0) (* x z)))

series122.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(- (+ x 4.0) (* x z))
41.0ms
(/ 1 (/ y (- (+ x 4.0) (* x z))))
58.0ms
(/ y (- (+ x 4.0) (* x z)))

simplify1.2s

Counts
150 → 150
Iterations

Useful iterations: 2 (212.0ms)

IterNodesCost
02292752
15322543
220792249
done50002249

prune278.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- 4.0 (* x z)) x)
0.2b
(/ 1 (* y (/ 1 (+ (- 4.0 (* x z)) x))))
0.3b
(/ 1 (+ (- 4.0 (* x z)) x))
1.9b
(* y (/ 1 (+ (- 4.0 (* x z)) x)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
43×*-un-lft-identity
33×add-sqr-sqrt
29×times-frac
26×add-cube-cbrt
20×div-exp add-cbrt-cube
18×associate-*r*
16×prod-exp
10×pow1 rec-exp 1-exp
add-log-exp
distribute-lft-out
cbrt-undiv associate-/r/ associate-/l*
associate-+l+ associate-/r*
expm1-log1p-u cbrt-unprod log1p-expm1-u
pow-flip fma-def flip3-+ associate-*l* prod-diff flip-+ div-inv unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv inv-pow
+-commutative associate-+l- sub-neg diff-log *-commutative
Counts
4 → 148
Calls
4 calls:
11.0ms
(+ (- 4.0 (* x z)) x)
21.0ms
(/ 1 (* y (/ 1 (+ (- 4.0 (* x z)) x))))
15.0ms
(/ 1 (+ (- 4.0 (* x z)) x))
32.0ms
(* y (/ 1 (+ (- 4.0 (* x z)) x)))

series157.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (- 4.0 (* x z)) x)
43.0ms
(/ 1 (* y (/ 1 (+ (- 4.0 (* x z)) x))))
35.0ms
(/ 1 (+ (- 4.0 (* x z)) x))
58.0ms
(* y (/ 1 (+ (- 4.0 (* x z)) x)))

simplify1.1s

Counts
160 → 160
Iterations

Useful iterations: 2 (196.0ms)

IterNodesCost
02042247
15241956
220031642
done50001642

prune283.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes91.0ms

Accuracy

75.6% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 3.3b

bsearch48.0ms

Steps
ItersRangePoint
7
7.098827287593002e-142
1.0474405962160618e-139
7.438065996397021e-140
4
-4.2782436650216614e+117
-2.345612917148945e+117
-2.4444603965533054e+117

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02042
12631
done2631

end0.0ms

sample497.0ms

Algorithm
intervals
Results
289.0ms10128×body80valid