Details

Time bar (total: 7.2s)

sample315.0ms

Algorithm
intervals
Results
204.0ms59×body640valid
54.0ms125×body1280valid
19.0ms256×pre80true
4.0ms23×body320valid
2.0ms42×body80valid
1.0msbody160valid

simplify435.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0709
1709

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.5b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
1.3b
(tan (+ y z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
6.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(tan (+ y z))

series102.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(- (tan (+ y z)) (tan a))
45.0ms
(+ x (- (tan (+ y z)) (tan a)))
25.0ms
(tan (+ y z))

simplify63.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05182570

prune101.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
11×add-log-exp
tan-quot add-exp-log add-cbrt-cube
distribute-lft-out
pow1
associate-/l*
flip3-+ associate-*r* associate-*l* associate-/r* sum-log flip-+ associate-/l/
+-commutative associate-+r+ frac-add associate-/r/
cbrt-undiv frac-times associate-+r- sub-neg flip3-- frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 87
Calls
4 calls:
9.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
4.0ms
(+ (tan y) (tan z))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))

series222.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
20.0ms
(+ (tan y) (tan z))
125.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
21.0ms
(* (tan y) (tan z))

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049941565
149941565

prune182.0ms

Filtered
74 candidates to 99 candidates (-33.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New90999
Fresh347
Picked101
Done000
Total9413107

Merged error: 0.1b

Counts
107 → 13

localize29.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1
44×tan-quot
23×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
14×associate-*r/ associate-*l/
13×add-sqr-sqrt
11×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
pow-sqr pow-prod-up add-log-exp
cube-div pow-unpow *-commutative
pow-pow pow-plus pow-exp rem-cube-cbrt unswap-sqr
pow2 cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod swap-sqr sqr-pow
Counts
4 → 116
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
11.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
5.0ms
(pow (* (tan y) (tan z)) 3)

series109.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (tan y) (tan z))
21.0ms
(* (tan y) (tan z))
32.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
35.0ms
(pow (* (tan y) (tan z)) 3)

simplify37.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050721037

prune208.0ms

Filtered
77 candidates to 128 candidates (-66.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1271128
Fresh01212
Picked101
Done000
Total12813141

Merged error: 0.0b

Counts
141 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))
0.2b
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))
0.3b
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
106×*-un-lft-identity
69×add-sqr-sqrt
67×add-cube-cbrt
23×associate-/r*
19×add-exp-log distribute-lft-out
16×associate-/r/
14×tan-quot
13×add-cbrt-cube
add-log-exp
div-exp
pow1 div-inv
flip3-+ flip-+ associate-/l*
frac-add
cbrt-undiv
associate-*r* associate-*l*
rec-exp associate-+r+ frac-2neg 1-exp clear-num sum-log associate-/l/ distribute-lft-out--
+-commutative frac-times associate-+r- sub-neg flip3-- pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod inv-pow unswap-sqr
Counts
4 → 176
Calls
4 calls:
30.0ms
(+ x (- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
11.0ms
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))
8.0ms
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(+ x (- (/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))) (tan a)))
21.0ms
(* (tan y) (tan z))
56.0ms
(/ 1 (/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z))))
58.0ms
(/ (- 1 (* (tan y) (tan z))) (+ (tan y) (tan z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050023855

prune184.0ms

Filtered
118 candidates to 188 candidates (-59.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1853188
Fresh21012
Picked101
Done000
Total18813201

Merged error: 0.0b

Counts
201 → 13

regimes1.0s

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02022
12022

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.7s3828×body1280valid
540.0ms8000×pre80true
508.0ms1996×body640valid
117.0ms684×body320valid
62.0ms1209×body80valid
35.0ms283×body160valid

Profiling

Loading profile data...