Details

Time bar (total: 1.3m)

sample1.1s

Algorithm
intervals
Results
811.0ms256×body10240exit
169.0ms550×body80nan
63.0ms256×body80valid

simplify136.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
136.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0)) (+ (* (log base) (log base)) (* 0 0)))

prune381.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ (log (hypot re im)) (log base))
0.0b
(hypot re im)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×times-frac
12×add-sqr-sqrt pow1 *-un-lft-identity add-cube-cbrt
10×log-pow
associate-/r* add-cbrt-cube add-exp-log associate-/l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
cbrt-undiv hypot-udef clear-num frac-2neg div-exp div-inv
Counts
2 → 50
Calls
2 calls:
Slowest
13.0ms
(/ (log (hypot re im)) (log base))
0.0ms
(hypot re im)

series234.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
158.0ms
(/ (log (hypot re im)) (log base))
76.0ms
(hypot re im)

simplify1.2s

Counts
46 → 56
Calls
46 calls:
Slowest
489.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
192.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
68.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base))))
35.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) 1)
34.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) 1)

prune707.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.4b
(/ (log base) (log (hypot re im)))
0.3b
(/ 1 (/ (log base) (log (hypot re im))))
0.0b
(hypot re im)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
70×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
46×pow1
42×log-pow
24×associate-/r*
16×add-exp-log
10×add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
rec-exp clear-num frac-2neg 1-exp
hypot-udef associate-/r/ pow-flip inv-pow
Counts
3 → 157
Calls
3 calls:
Slowest
10.0ms
(/ 1 (/ (log base) (log (hypot re im))))
6.0ms
(/ (log base) (log (hypot re im)))
0.0ms
(hypot re im)

series482.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
216.0ms
(/ (log base) (log (hypot re im)))
201.0ms
(/ 1 (/ (log base) (log (hypot re im))))
65.0ms
(hypot re im)

simplify9.2s

Counts
199 → 166
Calls
199 calls:
Slowest
692.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
499.0ms
(/ (* (* 1 1) 1) (* (* (/ (log base) (log (hypot re im))) (/ (log base) (log (hypot re im)))) (/ (log base) (log (hypot re im)))))
473.0ms
(/ (* (* (log base) (log base)) (log base)) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))
338.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
281.0ms
(/ (sqrt 1) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))

prune1.9s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log base) (/ 1 (log (hypot re im))))
0.3b
(/ 1 (log (hypot re im)))
0.3b
(/ 1 (* (log base) (/ 1 (log (hypot re im)))))
0.0b
(hypot re im)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
31×add-sqr-sqrt
29×times-frac
25×*-un-lft-identity
24×add-cube-cbrt
20×add-cbrt-cube div-exp
18×pow1
16×associate-*r* prod-exp
10×rec-exp 1-exp
log-pow
cbrt-undiv associate-/l*
associate-/r*
expm1-log1p-u associate-*l* cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp
div-inv pow-flip unswap-sqr
clear-num frac-2neg pow-prod-down associate-*r/ associate-/r/ un-div-inv inv-pow
hypot-udef *-commutative
Counts
4 → 135
Calls
4 calls:
Slowest
15.0ms
(/ 1 (* (log base) (/ 1 (log (hypot re im)))))
11.0ms
(* (log base) (/ 1 (log (hypot re im))))
4.0ms
(/ 1 (log (hypot re im)))
0.0ms
(hypot re im)

series685.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
242.0ms
(* (log base) (/ 1 (log (hypot re im))))
202.0ms
(/ 1 (* (log base) (/ 1 (log (hypot re im)))))
157.0ms
(/ 1 (log (hypot re im)))
84.0ms
(hypot re im)

simplify6.2s

Counts
105 → 147
Calls
105 calls:
Slowest
906.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
575.0ms
(/ (* (* 1 1) 1) (* (* (* (log base) (/ 1 (log (hypot re im)))) (* (log base) (/ 1 (log (hypot re im))))) (* (log base) (/ 1 (log (hypot re im))))))
520.0ms
(/ (* (* 1 1) 1) (* (* (* (log base) (log base)) (log base)) (/ (* (* 1 1) 1) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))))
490.0ms
(* (* (* (log base) (log base)) (log base)) (* (* (/ 1 (log (hypot re im))) (/ 1 (log (hypot re im)))) (/ 1 (log (hypot re im)))))
352.0ms
(/ (* (* 1 1) 1) (* (* (* (log base) (log base)) (log base)) (* (* (/ 1 (log (hypot re im))) (/ 1 (log (hypot re im)))) (/ 1 (log (hypot re im))))))

prune1.9s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize48.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base))))
0.5b
(* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))
0.4b
(/ (log (hypot re im)) (log base))
0.4b
(/ (log (hypot re im)) (log base))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
95×pow1
92×*-un-lft-identity
84×log-pow
80×add-sqr-sqrt
68×add-cube-cbrt
40×swap-sqr
20×add-cbrt-cube associate-*r* associate-*l* add-exp-log
associate-/r* associate-/l*
cbrt-div
frac-times cbrt-undiv div-exp associate-*l/ div-inv
expm1-log1p-u prod-exp associate-*r/ cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
clear-num frac-2neg
cbrt-prod pow2 pow-plus pow1/3 pow3 pow-prod-down pow-sqr *-commutative pow-prod-up rem-cbrt-cube
Counts
4 → 209
Calls
4 calls:
Slowest
61.0ms
(cbrt (* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base))))
32.0ms
(* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))
13.0ms
(/ (log (hypot re im)) (log base))
6.0ms
(/ (log (hypot re im)) (log base))

series661.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
178.0ms
(* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))
168.0ms
(cbrt (* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base))))
167.0ms
(/ (log (hypot re im)) (log base))
148.0ms
(/ (log (hypot re im)) (log base))

simplify10.1s

Counts
246 → 221
Calls
246 calls:
Slowest
567.0ms
(* (/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base)))) (/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base)))))
485.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
410.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
280.0ms
(* (* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base))) (* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base))))
264.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))

prune2.8s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

regimes383.0ms

Accuracy

0% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 0.6b

bsearch5.0ms

end0.0ms

sample37.0s

Algorithm
intervals
Results
28.5s7787×body10240exit
5.3s15845×body80nan
2.1s8000×body80valid