Details

Time bar (total: 1.7m)

sample1.2s

Algorithm
intervals
Results
932.0ms300×body10240exit
172.0ms560×body80nan
84.0ms256×body80valid

simplify179.0ms

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

prune28.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize32.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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)

series213.0ms

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

simplify1.2s

Counts
46 → 56
Calls
46 calls:
Slowest
446.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
190.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
60.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base))))
40.0ms
(/ (log (/ 1 re)) (log (/ 1 base)))
35.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) 1)

prune616.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×times-frac
22×*-un-lft-identity
21×add-cube-cbrt
16×associate-*r* add-exp-log
14×pow1
10×add-cbrt-cube
log-pow
associate-/r* div-exp associate-*l* prod-exp
expm1-log1p-u insert-posit16 log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
hypot-udef clear-num frac-2neg pow-prod-down associate-*r/ un-div-inv *-commutative pow-flip inv-pow
Counts
3 → 92
Calls
3 calls:
Slowest
26.0ms
(* (log (hypot re im)) (/ 1 (log base)))
8.0ms
(/ 1 (log base))
0.0ms
(hypot re im)

series436.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
237.0ms
(/ 1 (log base))
131.0ms
(* (log (hypot re im)) (/ 1 (log base)))
68.0ms
(hypot re im)

simplify2.5s

Counts
76 → 101
Calls
76 calls:
Slowest
466.0ms
(* (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (/ 1 (log base)) (/ 1 (log base))) (/ 1 (log base))))
322.0ms
(* (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (/ (* (* 1 1) 1) (* (* (log base) (log base)) (log base))))
215.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
159.0ms
(/ (* (* 1 1) 1) (* (* (log base) (log base)) (log base)))
107.0ms
(/ 1 (- (log -1) (log (/ -1 base))))

prune1.2s

Pruning

13 alts after pruning (12 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.2b
(/ 1 (/ (log base) (log (hypot re im))))
0.0b
(hypot re im)

rewrite32.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
20.0ms
(/ 1 (/ (log base) (log (hypot re im))))
6.0ms
(/ (log base) (log (hypot re im)))
0.0ms
(hypot re im)

series423.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
192.0ms
(/ (log base) (log (hypot re im)))
148.0ms
(/ 1 (/ (log base) (log (hypot re im))))
83.0ms
(hypot re im)

simplify9.3s

Counts
199 → 166
Calls
199 calls:
Slowest
745.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
488.0ms
(/ (* (* 1 1) 1) (* (* (/ (log base) (log (hypot re im))) (/ (log base) (log (hypot re im)))) (/ (log base) (log (hypot re im)))))
449.0ms
(/ (* (* (log base) (log base)) (log base)) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))
394.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
336.0ms
(/ (sqrt 1) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))

prune1.7s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
688×times-frac
294×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
116×pow1
110×log-pow
52×add-exp-log
37×div-inv
36×div-exp
24×associate-/r*
22×associate-/l*
20×add-cbrt-cube
10×cbrt-undiv rec-exp 1-exp
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg
pow-flip inv-pow
hypot-udef associate-/r/ associate-/l/
Counts
4 → 410
Calls
4 calls:
Slowest
12.0ms
(/ (/ 1 (log base)) (/ 1 (log (hypot re im))))
4.0ms
(/ 1 (log (hypot re im)))
4.0ms
(/ 1 (log base))
0.0ms
(hypot re im)

series984.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
666.0ms
(/ 1 (log base))
168.0ms
(/ (/ 1 (log base)) (/ 1 (log (hypot re im))))
95.0ms
(/ 1 (log (hypot re im)))
54.0ms
(hypot re im)

simplify42.8s

Counts
643 → 422
Calls
643 calls:
Slowest
1.1s
(/ (* (* (/ 1 (log base)) (/ 1 (log base))) (/ 1 (log base))) (* (* (/ 1 (log (hypot re im))) (/ 1 (log (hypot re im)))) (/ 1 (log (hypot re im)))))
598.0ms
(/ (/ 1 (* (cbrt (log base)) (cbrt (log base)))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
571.0ms
(/ (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (log base)) (cbrt (log base)))) (/ 1 (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
526.0ms
(/ (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (log base)) (cbrt (log base)))) (/ (sqrt 1) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
428.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)))))

prune4.9s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes343.0ms

Accuracy

0% (0.4b remaining)

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

bsearch3.0ms

end0.0ms

sample36.4s

Algorithm
intervals
Results
28.3s8063×body10240exit
4.4s16233×body80nan
2.6s8000×body80valid