Details

Time bar (total: 26.0s)

sample86.0ms

Algorithm
intervals
Results
58.0ms656×body80valid

simplify5.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
01217
12616
25015
38615
415115
530315
693215
7396115
done500115

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite198.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-cbrt-cube
fma-def add-log-exp
unpow-prod-down
expm1-log1p-u log1p-expm1-u
pow-unpow associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ sum-log flip-+ sqr-pow
pow-to-exp pow-pow associate-*r* pow-exp *-commutative unswap-sqr
Counts
4 → 74
Calls
4 calls:
16.0ms
(+ (* a a) (* b b))
133.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
34.0ms
(* 4.0 (* b b))
11.0ms
(pow (+ (* a a) (* b b)) 2.0)

series360.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* a a) (* b b))
111.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
45.0ms
(* 4.0 (* b b))
173.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify2.6s

Counts
86 → 86
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01251011
1329844
21052772
33512764
done5000764

prune360.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2 (* a a))
0.2b
(fma (* b b) (fma b b (* 2 (* a a))) (pow a 4))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* *-commutative fma-udef unswap-sqr
Counts
2 → 31
Calls
2 calls:
22.0ms
(* 2 (* a a))
0.0ms
(fma (* b b) (fma b b (* 2 (* a a))) (pow a 4))

series122.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(* 2 (* a a))
71.0ms
(fma (* b b) (fma b b (* 2 (* a a))) (pow a 4))

simplify2.9s

Counts
37 → 37
Iterations

Useful iterations: done (2.9s)

IterNodesCost
059429
1128408
2336360
3902354
43277354
done5000348

prune151.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (* (* a a) (* b b)) 2.0 (pow b 4))
0.0b
(+ (fma (* (* a a) (* b b)) 2.0 (pow b 4)) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
2.3b
(* (* a a) (* b b))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
37×pow1
21×add-exp-log add-cbrt-cube
17×pow-prod-down
11×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
expm1-log1p-u pow-plus associate-*l* pow-prod-up log1p-expm1-u
fma-def
pow2 associate-*r* pow-sqr *-commutative fma-udef unswap-sqr
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
4 → 79
Calls
4 calls:
0.0ms
(fma (* (* a a) (* b b)) 2.0 (pow b 4))
8.0ms
(+ (fma (* (* a a) (* b b)) 2.0 (pow b 4)) (* 4.0 (* b b)))
18.0ms
(* 4.0 (* b b))
37.0ms
(* (* a a) (* b b))

series283.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(fma (* (* a a) (* b b)) 2.0 (pow b 4))
107.0ms
(+ (fma (* (* a a) (* b b)) 2.0 (pow b 4)) (* 4.0 (* b b)))
33.0ms
(* 4.0 (* b b))
56.0ms
(* (* a a) (* b b))

simplify3.5s

Counts
91 → 91
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01071136
12571045
2894891
33860823
done5000823

prune339.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* b b)))
0.3b
(* (cbrt 4.0) (* b b))
1.0b
(* (cbrt 4.0) (cbrt 4.0))
2.3b
(* (* a a) (* b b))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
65×pow1
44×add-exp-log
34×pow-prod-down
30×add-cbrt-cube
27×prod-exp cbrt-unprod
24×add-sqr-sqrt
20×cbrt-prod
14×add-cube-cbrt *-un-lft-identity associate-*l*
associate-*r*
unswap-sqr
pow1/3 swap-sqr pow-prod-up
pow-plus
expm1-log1p-u pow-sqr *-commutative log1p-expm1-u add-log-exp
pow2
Counts
4 → 128
Calls
4 calls:
118.0ms
(* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* b b)))
37.0ms
(* (cbrt 4.0) (* b b))
11.0ms
(* (cbrt 4.0) (cbrt 4.0))
41.0ms
(* (* a a) (* b b))

series269.0ms

Counts
4 → 10
Calls
4 calls:
130.0ms
(* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* b b)))
79.0ms
(* (cbrt 4.0) (* b b))
0.0ms
(* (cbrt 4.0) (cbrt 4.0))
59.0ms
(* (* a a) (* b b))

simplify5.4s

Counts
138 → 138
Iterations

Useful iterations: done (5.4s)

IterNodesCost
01321372
12871296
21039971
34211835
done5001831

prune425.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes134.0ms

Accuracy

94.6% (0.1b remaining)

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

bsearch1.0ms

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02650
13150
done3150

end0.0ms

sample2.8s

Algorithm
intervals
Results
2.2s20728×body80valid